/* 声明字体图标 这里一定要注意路径的变化 */
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?tomleg");
  src: url("../fonts/icomoon.eot?tomleg#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?tomleg") format("truetype"),
    url("../fonts/icomoon.woff?tomleg") format("woff"),
    url("../fonts/icomoon.svg?tomleg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/* banxin */
.w {
  width: 1200px;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/* 快捷导航栏 */
.shortcut {
  height: 31px;
  background-color: #f1f1f1;
  line-height: 31px;
}
.shortcut ul li {
  float: left;
}
.style_red {
  color: #c81623;
}
.shortcut .fr li:nth-child(2n) {
  width: 1px;
  height: 12px;
  background-color: #666;
  margin: 9px 15px 0;
}
.arrow-iocn::after {
  font-family: "icomoon";
  content: "\e91e";
  margin-left: 6px;
}
/* 快捷导航模块 */
/* 头部模块 */
/* logo模块 */
.header {
  position: relative;
  height: 105px;
}
.header .logo {
  position: absolute;
  top: 25px;
  width: 171px;
  height: 61px;
  background: url(../images/logo.png) no-repeat;
}
.header .logo a {
  display: block;
  width: 171px;
  height: 61px;
  font-size: 0;
}
/* 搜索框 */
.search {
  position: absolute;
  width: 538px;
  height: 36px;
  top: 25px;
  left: 344px;
  border: 2px solid #b1191a;
}
.search input {
  float: left;
  width: 454px;
  height: 32px;
  padding-left: 10px;
}
.search button {
  float: left;
  width: 80px;
  height: 32px;
  font-size: 16px;
  color: #fff;
  background-color: #b1191a;
}
/* hotwods模块制作 */
.hotwods {
  position: absolute;
  top: 66px;
  left: 346px;
}
.hotwods a {
  margin: 0 10px;
}
/* 购物车模块 */
.shopcar {
  position: absolute;
  width: 140px;
  height: 36px;
  top: 25px;
  right: 60px;
  border: 1px solid #dfdfdf;
  background-color: #f7f7f7;
  line-height: 34px;
  text-align: center;
}
.shopcar::before {
  content: "\e93a";
  font-family: "icomoon";
  margin-left: 5px;
  color: #b1191a;
}
.shopcar::after {
  content: "\e920";
  font-family: "icomoon";
  margin-right: 5px;
}
.shopcar .count {
  position: absolute;
  left: 105px;
  top: -5px;

  height: 14px;
  line-height: 14px;
  background-color: red;
  border-radius: 7px 7px 7px 0;
  color: #fff;
  padding: 0 5px;
}
/* 头部模块end */
/* nav模块 start */
.nav {
  height: 47px;
  border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
  width: 209px;
  height: 45px;
  background-color: #b1191a;
}
.nav .dropdown .dt {
  width: 100%;
  height: 100%;
  line-height: 45px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}
.nav .dropdown .dd {
  position: relative;
  width: 100%;
  height: 0;
  background-color: #c81623;
  overflow: hidden;
  transition: all 0.5s;
}
/* 全部商品分类另一种打开模式 */
.nav .dropdown:hover .dd {
  height: 465px;
}
.nav .dropdown .dd ul li {
  padding-left: 10px;
  margin-left: 2px;
  width: 209px;
  height: 31px;
  line-height: 31px;
  transition: all 1s;
}
.nav .dropdown .dd ul li a {
  color: #fff;
  font-size: 14px;
  transition: all 0.7s;
}
.nav .dropdown .dd ul li:hover {
  background-color: #fff;
}
.nav .dropdown .dd ul li:hover a {
  color: #c81623;
  padding-left: 10px;
}
.nav .dropdown .dd ul li::before {
  font-family: "icomoon";
  content: "\e920";
  position: absolute;
  left: 183px;
  color: #fff;
}
.nav .navitems ul li {
  float: left;
}
.nav .navitems ul li a {
  display: block;
  font-size: 16px;
  height: 45px;
  line-height: 45px;
  padding: 0 25px;
}
/* nav模块 end */
/* 底部模块start */
.footer {
  width: 100%;
  height: 417px;
  background-color: #f5f5f5;
  padding-top: 30px;
}

.footer .mod_service {
  width: 100%;
  height: 80px;
  border-bottom: 1px solid #ccc;
}
.footer .mod_service ul li {
  float: left;
  width: 222px;
  height: 80px;
  padding-left: 35px;
}
.footer .mod_service ul li h5 {
  float: left;
  width: 49px;
  height: 49px;
  background: url(../images/icons.png) no-repeat -253px -3px;
  margin-right: 8px;
}
.footer .mod_service ul li .mod_service_che {
  background: url(../images/icons.png) no-repeat -255px -54px;
}
footer .mod_service ul li .mod_service_bao {
  background: url(../images/icons.png) no-repeat -257px -106px;
}
footer .mod_service ul li .mod_service_te {
  background: url(../images/icons.png) no-repeat -258px -157px;
}
/* 还有 */
.footer .mod_hep {
  height: 185px;
  border-bottom: 1px solid #ccc;
  padding-top: 20px;
  padding-left: 50px;
}
.footer .mod_hep dl {
  float: left;
  width: 200px;
}
.footer .mod_hep dl:last-child {
  width: 95px;
  text-align: center;
}
.footer .mod_hep dl dt {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer .mod_copyright {
  padding-top: 20px;
  text-align: center;
  line-height: 20px;
}
.footer .mod_copyright .links {
  margin-bottom: 15px;
}
.footer .mod_copyright .links p a {
  margin: 0 10px;
}
/* 底部模块end */
